<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form id="form" onsubmit="alert(1)">
        <p>
            用户名：<input type="text" name="user">
        </p>
        <p>
            密码：<input type="password" name="pwd">
        </p>
        <input type="submit" id="input">
    </form>
</body>
</html>